<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ page isELIgnored ="false" %>
<html>
<body>
<h2>Hello!${pageContext.request.queryString}</h2>
<%!
    String username;
%>
<%
    username = request.getParameter("username");
%>
<form action="homework" method="post">
    <div>
        <label>姓名：</label><input type="text" name="username" value="${param["username"]}">
    </div>
    <div>
        <label>密码：</label><input type="text" name="password" value="${username}">
    </div>
    <div>
        <input type="submit" value="确认">
    </div>
</form>
</body>
</html>
